from django.db import models
from optitrans.domain.position import Position
class PositionManager(models.Manager):
    
    def vehicule_position(self, id_vehicules):
        return  Position.objects.order_by('-id').get(id_vehicule=id_vehicules)